//
//  ZODInternalTools.h
//  ZTEOnlineDoc
//
//  Created by 万伟琦 on 2018/9/10.
//  Copyright © 2018年 万伟琦. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSString+ZOD.h"

@class ZODFileInfo;
@class ZODViewInfo;
@class ZODAttInfo;

NS_ASSUME_NONNULL_BEGIN

@interface ZODInternalTools : NSObject

+ (NSDictionary*)dictionaryFromObject:(id)obj;
+ (NSString *)JSONStringFromDictionary:(NSDictionary *)dict;
+ (NSString *)JSONStringFromObject:(id)obj;
+ (NSData *)JSONDataFromDictionary:(NSDictionary *)dict;
+ (NSDictionary *)dictionaryFromJSONString:(NSString *)str;


+ (ZODFileInfo *)getFileInfoFromAttInfo:(ZODAttInfo *)attInfo;
+ (ZODViewInfo *)getViewInfoFromAttInfo:(ZODAttInfo *)attInfo;

+ (NSURL *)composeGETURLWithBaseURL:(NSString *)urlStr parameters:(NSDictionary *)paras;

@end

NS_ASSUME_NONNULL_END
